network iptables addrule drop
network iptables addrule drop
Add a host or network DROP rule to the iptables firewall for the appliance.
User access
admin
Syntax
network iptables addrule drop
host
network
Argument(s) | Shortcut | Description |
---|---|---|
host | h | Adds a host DROP rule to the iptables firewall for the appliance. See network iptables addrule drop host. |
network | n | Adds a network DROP rule to the iptables firewall for the appliance. See network iptables addrule drop network. |
network iptables addrule drop network
Adds a network DROP rule to the iptables firewall for the appliance.
User access
admin
Syntax
network iptables addrule drop network -net <IP_address> -mask <netmask>
Argument(s) | Shortcut | Description |
---|---|---|
-net <IP_address> | -n | Specifies the IP address of the network you are adding the rule for. |
-mask <netmask> | -m | Specifies the network mask of the network you are adding the rule for. |
Example
psesh:>network iptables addrule drop network -net 172.20.11.212 -mask 255.0.255.0
DROP rule added for 172.20.11.212/255.0.255.0 network
Command Result : 0 (Success)
network iptables addrule drop host
Adds a host DROP rule to the iptables firewall for the appliance.
User access
admin
Syntax
network iptables addrule drop host -ip <IP_address>
Argument(s) | Shortcut | Description |
---|---|---|
-ip <IP_address> | -i | Specifies the IP address of the host you are adding the rule for. |
Example
psesh:>network iptables addrule drop host -ip 10.124.93.19
DROP rule added for host 10.124.93.19
Command Result : 0 (Success)